package com.RWM.activities;

import com.RWM.helpers.VenmoResponse;
import com.RWM.helpers.VenmoSDK;

import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.widget.Button;

public class URLActivity extends Activity {

	 public void onCreate(Bundle savedInstanceState) {
		 
		 	String app_secret = "42gpMkZEC8TESfxPvu8Us8h3EMeNm82F";
	        super.onCreate(savedInstanceState);
	    	Uri data = getIntent().getData();
	    	String signed_request = data.getQueryParameter("signed_request");   
	    	VenmoResponse response = VenmoSDK.validateVenmoPaymentResponse(signed_request, app_secret);
	        
	    } //END onCreate
	    

	
}
